NuclearEngagement\Services\PostsQueryService S

Total Complexity 34
Dependencies 7
Dependents 2
Total lines 261
Lines of code 140
Logical lines of code 92
Comment lines 69
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
countPostsOptimized()
A
47 7 35
get_posts_count()
S
53 5 24
get_memory_limit()
S
55 5 20
get_query_params()
S
61 5 13
get_posts_count_only()
S
56 4 18
build_optimized_sql()
S
63 3 11
__construct()
S
73 1 5
register_hooks()
S
75 1 4
clear_cache()
S
76 1 4
build_query_args()
S
80 1 3
build_sql_clauses()
S
80 1 3